#include "disp.h"
#include "bitmap.h"
#include "rtc.h"
#include "sht.h"
#include "task.h"
#include "pixelwifi.h"
#include "touch.h"
#include "soc/soc.h"
#include "soc/rtc_cntl_reg.h"

void setup(void)
{
    WRITE_PERI_REG(RTC_CNTL_BROWN_OUT_REG, 0);
    Serial.begin(115200);
    initWiFi();
    Wire.begin();
    rtcInit();
    shtInit();
    rgbInit();
    taskStart();
}

void loop(void)
{
    taskRun();
}
